// types/export.ts
export interface ExportProgress {
    current: number
    total: number
    status: 'processing' | 'success' | 'error'
    message?: string
  }
  
  export interface StudyExportData {
    id: number
    content: string
    type: string
    applicationScenario: string
    interviewFrequency?: string
    remark?: string
    createdAt: string
    updatedAt: string
    userId: number
  }
  
  export interface ExportConfig {
    filename?: string
    format?: 'xlsx' | 'csv'
    autoWidth?: boolean
    includeHeader?: boolean
  }
  
  export interface ExportResult {
    success: boolean
    message: string
    filename: string
    count: number
    duration: number
  }